package sweezy.swf.tools.abcdump
{

	public class ArrayStream extends StringDumpStream
	{

		private var _index:uint;

		private var _list:Array;

		public function ArrayStream()
		{
			_list = [];
		}

		public function get list():Array
		{
			return _list;
		}

		override public function println(value:String = ""):void
		{
			_list[_index++] = _indent + value;
		}

		override public function toString():String
		{
			return "";
		}
	}
}
